package com.czb.entity;

import lombok.*;

import java.util.Date;

/**
 * @author: 陈正彬
 * 映射monster表
 */
//@Getter
//@Setter
//@ToString
//@NoArgsConstructor
//@AllArgsConstructor
@Data //包括上面的注解以及其他重写方法的注解
@AllArgsConstructor //如果用了全参构造器，会把无参构造器覆盖
@NoArgsConstructor
public class Monster {
    private Integer id;
    private Integer age;
    private String name;
    private String email;
    private Date birthday;
    private double salary;
    private Integer gender;
}
